![]() | ![]() | ![]() | ![]() | ![]() |
When you use the SAS/ACCESS Interface to Greenplum option READBUFF= with any value over 10,000 in conjunction with option DBSLICEPARM=ALL, data might be lost during a Read operation. However, no error is shown.
If you set a value greater than 10,000 for READBUFF=, you must also set a driver option called "MaxRowsetSize" to match the value of READBUFF=. If you do not set this driver option when using values greater than 10,000, and you specify DBSLICEPARM= in the LIBNAME statement, the problem occurs. An inaccurate count of rows occurs in the final result. You can see the issue by tracing.
option sastrace=",,t,d" sastraceloc=saslog nostsuffix; libname mygp greenplm server="server-name" database=db port=5432 user=user-ID password="password" schema=public readbuff=32000 dbsliceparm=ALL; data work.test1; set mygp.bigdata; run;
GREENPLUM: Thread 3 contains 205 obs. GREENPLUM: Thread 2 contains 2041240 obs. GREENPLUM: Thread 1 contains 2040162 obs. GREENPLUM: Threaded read enabled. Number of threads created: 3 NOTE: There were 4081607 observations read from the data set MYGP.BIGDATA. NOTE: The data set WORK.TEST1 has 4081607 observations and 12 variables.
In the example above, the resulting data set should contain more than 6 million rows, but you can observe that this data set contains only a little more than 4 million. Tracing shows that "Thread 3" read only 205 observations.
You can circumvent this issue as follows:
Click the Hot Fix tab in this note to access the hot fix for this issue.
Applying the hot fix or upgrading your SAS software enables you to specify DBSLICEPARM= and READBUFF= values greater than 10,000. Setting READBUFF= in the LIBNAME statement automatically sets MaxRowsetSize to the same value as READBUFF= in the code passed on the connection. Setting READBUFF= to a value greater than 10,000 as a data set option automatically truncates the value to 10,000 and sets MaxRowsetSize to the same.
For more information about MaxRowsetSize, see SAS Note 47859: "READBUFF values that are set to more than 10,000 are truncated to 10,000 by DataDirect drivers."
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to Greenplum | Microsoft® Windows® for x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise 32-bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8 Enterprise x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8 Pro 32-bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8 Pro x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8.1 Enterprise 32-bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8.1 Enterprise x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8.1 Pro | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows 8.1 Pro 32-bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2008 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2008 R2 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2008 for x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2012 Datacenter | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2012 R2 Datacenter | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2012 R2 Std | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft Windows Server 2012 Std | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Enterprise 32 bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Enterprise x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Home Premium 32 bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Home Premium x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Professional 32 bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Professional x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Ultimate 32 bit | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Windows 7 Ultimate x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
64-bit Enabled AIX | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
64-bit Enabled Solaris | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
HP-UX IPF | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Linux | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Linux for x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Solaris for x64 | 9.3_M1 | 9.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 |